//
//  ViewController.h
//  NetPhone
//
//  Created by intel intel on 12-4-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AddressBookUI/AddressBookUI.h>
#import "MBProgressHUD.h"
#import "NetPhoneDAO.h"
#import "ASIFormDataRequest.h"
#import "NetRequest.h"
#import "NewNetWork.h"
#import "HttpForAgent.h"
#define HTTP @"http://ad.28fax.com:8008/"
@interface ViewController : UIViewController<UINavigationControllerDelegate,ABPeoplePickerNavigationControllerDelegate,MBProgressHUDDelegate,UITabBarControllerDelegate,InitNetPhoneDataDelegate,UIAlertViewDelegate,ASIHTTPRequestDelegate,UIActionSheetDelegate,requestForAgentDelegate>
{
  
    BOOL isInited;
    MBProgressHUD *HUD;
    
    
    NetRequest* Net_Request;
    
    
    int Request_Type;
    
    
    NewNetWork* net_work;
    
    
    NSString *updateUrl;
    
//    NSString * personPhone;
//    NSString * userName;
    
   
}
@property (nonatomic,retain)NSString* sipphone;//是否有直拨
@property (nonatomic,retain) IBOutlet UITabBarController *tabBarController;
@property (nonatomic,retain)NSString* userName;
@property (nonatomic,retain)NSString* personPhone;

+(ViewController *) sharedInstance;
-(void)initNetPhoneData;
-(void)openThreadToloadingTheContact;
-(void)openLoginViewController;

@end
